package vn.nt.healthcare.server.ws.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import vn.nt.healthcare.server.ws.domain.AppConfig;
import vn.nt.healthcare.server.ws.repositories.AppConfigRepository;
import vn.nt.healthcare.server.ws.service.AppConfigService;

@Service("appConfigService")
public class AppConfigServiceImpl implements AppConfigService {

	@Autowired
	private AppConfigRepository appConfigRepository;

	@Override
	public AppConfig findByAppName(String appName) {
		// TODO Auto-generated method stub
		return appConfigRepository.findByAppName(appName);
	}

}
